package com.lap.auth.application.menu.dto;

import com.lap.framework.common.dto.AbstractDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "菜单访问日志数据传输")
public class MenuViewLogDto extends AbstractDto {

  @Schema(description = "唯一标识")
  private Integer id;

  @Schema(description = "管理员ID")
  private Integer userId;

  @Schema(description = "登录账号")
  private String userName;

  @Schema(description = "姓名")
  private String fullName;

  @Schema(description = "访问地址")
  private String accessUri;

  @Schema(description = "访问方法")
  private String accessMethod;

  @Schema(description = "访问来源ip")
  private String accessIp;

  @Schema(description = "访问来源地点")
  private String accessAddress;

  @Schema(description = "访问入参")
  private String accessParam;

  @Schema(description = "访问返回值")
  private String accessResult;

  @Schema(description = "访问浏览器")
  private String browser;

  @Schema(description = "访问系统")
  private String operatingSystem;

  @Schema(description = "访问耗时")
  private Long times;
}
